package com.hlkj.baojin.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

/**
 * @author HULIN
 * @created with: baojin
 * @package com.hlkj.baojin.entity.dto
 * @description:
 * @date 2019/1/29 13:31
 * @modified By:
 * @Copyright © 2018 HAILIANG Info. Tech Ltd. All rights reserved.
 */
@ApiModel
@Getter
@Setter
public class DutyDto {

    @ApiModelProperty(value = "主键id(更新及查看时使用)")
    private String id;

    /**
     * 姓名
     */
    @NotBlank(message = "姓名不可为空")
    @ApiModelProperty(value = "姓名")
    private String name;

    /**
     * 手机号
     */
    @NotBlank(message = "手机号不可为空")
    @ApiModelProperty(value = "手机号")
    private String mobilePhone;

    /**
     * 值班状态 0.不值班 1. 值班
     */
    @ApiModelProperty(value = "值班状态 0.不值班 1. 值班")
    private Integer dutyStatus;

}
